key/engine pair called state defines what matters to handshake.  beast renamed to handshake.