'The handshake has been accepted.
:param xml: The reply handshake stanza.'

def _handle_handshake(self, xml):

    self.session_bind_event.set()
    self.session_started_event.set()
    self.event('session_bind', self.boundjid, direct=True)
    self.event('session_start')
