Testing various networking principles in Java.