Make use of newly added Java config

See WebSocketConfig