HTTP REST API for a chat server