secure chat server/client in python