Added htonl() and ntohl() when sending/receiving packet size
- myClient's user data was not initialized to 0
- Added packetPrepare callback, called each time a packet is received, or about to be sent