simple telnet chat server written in python