protected static new int ParsePacketLength(byte[] packet) { return (packet[2] << 8) + packet[1] + 2; }