def _multiplexedConnectionMade(self, response):
        """Stores a reference to the connection, registers this protocol on
        the factory as one related to a multiplexed AMP connection,
        and sends currently buffered data. Gets rid of the buffer
        afterwards.

        """
        self.connection = conn = response["connection"]
        self.factory.protocols[conn] = self

        log.msg("Multiplexed AMP connection ({!r}) made!".format(conn))

        data, self._buffer = self._buffer.getvalue(), None
        if data:
            log.msg("Sending {} bytes of buffered data...".format(len(data)))
            self._sendData(data)
        else:
            log.msg("No buffered data to send!")
Stores a reference to the connection, registers this protocol on
        the factory as one related to a multiplexed AMP connection,
        and sends currently buffered data. Gets rid of the buffer
        afterwards.