title: Nodejs request issue with especific endpoint (Client network socket disconnected)
body: <p>This is my entire code</p>
  
  <pre><code>const rp = require('request-promise');
  
  (async () =&gt; {
    const headers = {
      Accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
      'Accept-Encoding': 'gzip, deflate, br',
      'Accept-Language': 'pt-BR,pt;q=0.8,en-US;q=0.5,en;q=0.3',
      'Cache-Control': 'no-cache',
      Connection: 'keep-alive',
      Host: 'www.receita.fazenda.gov.br',
      Pragma: 'no-cache',
      'Upgrade-Insecure-Requests': 1,
      'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:64.0) Gecko/20100101 Firefox/64.0',
    };
  
    const jar = rp.jar();
  
    try {
      const firstAccess = await rp.get('https://www.receita.fazenda.gov.br/Aplicacoes/SSL/ATCTA/CPF/ConsultaSituacao/ConsultaPublica.asp', {
        headers,
        gzip: true,
        simple: false,
        strictSSL: false,
        jar,
      });
      console.log(firstAccess);
    } catch (e) {
      console.log(e);
    }
  })();
  </code></pre>
  
  <p>When i run my code i receive this error:</p>
  
  <blockquote>
    <p>UnhandledPromiseRejectionWarning: RequestError: Error: Client network
    socket disconnected before secure TLS connection was established</p>
  </blockquote>
  
  <p>The url works in the browser, but I can not access through nodeJS, apparently it's some problem with the https certificate</p>
  
  <p>Is there any way to ignore the error and access it?</p>