WICKET-5701 WebSocketRequestHandler is not set as a scheduled and thus RequestCycle#find(AjaxRequestTarget.class) doesn't work

(cherry picked from commit 482c595f5c1b2ee5032140ed0ede79d9f48af26f)