switch web socket to was