Test throughput of Java Sockets