Simple telnet chat written in python