Generate a random encryption key for symmetric crypting purposes upon client start.
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.