Parse handshake

Depends on https://github.com/code-mancers/rbkit/pull/86 though.