succesfully sending and receiving a handshake message