'Create a new channel with the next available channel number or pass
in a channel number to use. Must be non-zero if you would like to
specify but it is recommended that you let Pika manage the channel
numbers.
Return a Deferred that fires with an instance of a wrapper around the
Pika Channel class.
:param int channel_number: The channel number to use, defaults to the
next available.'

def channel(self, channel_number=None):

    d = defer.Deferred()
    base_connection.BaseConnection.channel(self, d.callback, channel_number)
    return d.addCallback(TwistedChannel)
