telnet: Improve debugging, separate IAC vs. data tracing
This properly implements WONT/DONT support which we were lacking,and fixes negotiation with NetBSD telnetd (such as sdf.org) byresponding to ENCRYPT with DONT rather than WONT.
jcs.org 4 years ago 29c0aa00 7103fbd8