network messages, handshake messages implemented