wip: frame handshake