move telnet code to telnetd dir