Basic EchoSocket example in Java for System's Programming