Uses numBytes instead of thisFrame.payload().length() as the payload is not yet defined Scan the first 25 lines intead of 10 as version 1 has a long header