Remove a member variable that is not used

(cherry picked from commit 4876e32dd1520f4afc9e960b6e3646cb00fd2454)
WICKET-5624 Do not throw when WebSocket is not supported

(cherry picked from commit 6fb280f691cd1380bede9b1c3b48ae625253866e)