Simple server-client chat application written in python