Experimenting with Java sockets.