put byte order in the handshake