Telnet client is now singleton. Just set port in main prior to use