Properly handle the crypt packet reception.
Changed the packet format: the size is now placed at the beginning of the packet, before the [major] field. The size also now includes the [major][minor] fields.