static JSObject *prepare_downstream_request(JSContext *cx) {
  RootedObject requestInstance(
      cx, JS_NewObjectWithGivenProto(cx, &Request::class_, Request::proto_obj));
  if (!requestInstance)
    return nullptr;
  return Request::create(cx, requestInstance, RequestHandle{INVALID_HANDLE},
                         BodyHandle{INVALID_HANDLE}, true);
}
static JSObject *prepare_downstream_request(JSContext *cx) {
  RootedObject requestInstance(
      cx, JS_NewObjectWithGivenProto(cx, &Request::class_, Request::proto_obj));
  if (!requestInstance)
    return nullptr;
  return Request::create(cx, requestInstance, RequestHandle{INVALID_HANDLE},
                         BodyHandle{INVALID_HANDLE}, true);
}