'Deliver enough additional messages to C{proto} so that the key exchange
which is started in L{SSHTransportBase.connectionMade} completes and
non-key exchange messages can be sent and received.'

def finishKeyExchange(self, proto):

    proto.dataReceived('SSH-2.0-BogoClient-1.2i\r\n')
    proto.dispatchMessage(transport.MSG_KEXINIT, self._A_KEXINIT_MESSAGE)
    proto._keySetup('foo', 'bar')
    proto._keyExchangeState = proto._KEY_EXCHANGE_NONE
