#394 env must be set before calling acceptWebSocket, because acceptWebSocket uses webSocketAbsRequestUrl