def transport_connected(self):
with self.lock:<EOL><INDENT>if self.initiator:<EOL><INDENT>if self._output_state is None:<EOL><INDENT>self._initiate()<EOL><DEDENT><DEDENT><DEDENT>
Called when transport has been connected.

        Send the stream head if initiator.