Client/Server Socket connection example. Java.