'Call superclass and then update the event state to flush the outgoing
frame out. Commit 50d842526d9f12d32ad9f3c4910ef60b8c301f59 removed a
self._flush_outbound call that was in _send_frame which previously
made this step unnecessary.'

def _on_connected(self):

    super(TwistedConnection, self)._on_connected()
    self._manage_event_state()
