Creating simple chat server and client.