a chat service & client implementation