implement handshake prototype

Would you mind expanding these abbreviations to `email` and `token`?