rewrite chat-server with coffee #4