WebSockets in Java demo application