Add token request and message handler to chat-server