websockets client example in Java