Support WSS as well as WS