Easy example of java chat with sockets.