~ Fix message length bug in handshake.