Fixed a bug in ProcessedPacket

LENGTH COMES AFTER DECRYPTEDLENGTH, FFS!