'Subnegotiation of RFC2217 parameters.'

def rfc2217_send_subnegotiation(self, option, value=''):

    value = value.replace(IAC, IAC_DOUBLED)
    self._internal_raw_write(to_bytes((([IAC, SB, COM_PORT_OPTION, option] + list(value)) + [IAC, SE])))
