Fixed packet parsing and ignored first 3 and last 4 bytes of decrypted packets