wireformat: Send the length in the network order..

this is a format change. but it is necessary now.
3 files changed