Fix websocket address in stateful client

Both stateful and stateless pages behave the same, hopefully this fixes it.