a quick hack of a chat server