Java chat application over sockets.