implement handshake prototype

That's an excellent question