Server and client test app, to send messages using socket.