Fixed the issue with corrup packets between 64bit and 32bit machines

The trick was to use stdint.h sizes for the bits that we wanted to send, move
them up to the top of the structure and then omit the pointers when sending
over the network -- as the pointers would have different sizes