'hook overloading the one used in plain telnet'

def _write(self, data):

    data = data.replace('\n', '\r\n').replace('\r\r\n', '\r\n')
    super(TelnetProtocol, self)._write(mccp_compress(self, data))
