Adding pieces of telnet support.