The WebSocket client sample in JavaFX.