'Initialize ttype by storing protocol on ourselves and calling
the client to see if it supporst ttype.
Args:
protocol (Protocol): The protocol instance.
Notes:
The `self.ttype_step` indicates how far in the data
retrieval we\'ve gotten.'

def __init__(self, protocol):

    self.ttype_step = 0
    self.protocol = protocol
    self.protocol.protocol_flags['TTYPE'] = False
    self.protocol.protocol_flags['ANSI'] = True
    self.protocol.negotiationMap[TTYPE] = self.will_ttype
    self.protocol.do(TTYPE).addCallbacks(self.will_ttype, self.wont_ttype)
