Added some features to telnet server