constructor(proxy, opts) {
    super(proxy, opts);
    this.constructorOpts = opts;
  }
Patched version of HttpsProxyAgent to get around a bug that ignores
options like ca and rejectUnauthorized when upgrading the socket to TLS:
https://github.com/TooTallNate/proxy-agents/issues/194