implement mode character telnet server