Building chat-client server