Fix size of network protocol intergers.

This fixes the size of some integers that are visible in the network
protocol.  There should be no change for machines where sizeof(int) ==
4.

I tried to change all related values but I might have missed some.  This WILL change the network protocol of machines with non-32bit int types.