Telnet: Minor fixes