'initialize MCCP by storing protocol on
ourselves and calling the client to see if
it supports MCCP. Sets callbacks to
start zlib compression in that case.
Args:
protocol (Protocol): The active protocol instance.'

def __init__(self, protocol):

    self.protocol = protocol
    self.protocol.protocol_flags['MCCP'] = False
    self.protocol.will(MCCP).addCallbacks(self.do_mccp, self.no_mccp)
