add telnet support