implement handshake prototype

This can be removed, right?