Implemented Handshake.handle()