Chat server and client written in python