WICKET-5739 Add a factory method for WebSocketRequestHandler