title: How to fix: "EPROTO" Error after upgrading Node's version
body: <p>The following code works on Node's <code>v10.15.3</code> version:</p>
  <pre><code>const { post } = require('request');
  
  post({
    url: 'https://cidadao.sinesp.gov.br/sinesp-cidadao/mobile/consultar-placa/v4',
    body: '&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;UTF-8\&quot; standalone=\&quot;yes\&quot;?&gt;\n&lt;v:Envelope xmlns:v=\&quot;http://schemas.xmlsoap.org/soap/envelope/\&quot;&gt;\n  &lt;v:Header&gt;\n    &lt;b&gt;LGE Nexus 5&lt;/b&gt;\n    &lt;c&gt;ANDROID&lt;/c&gt;\n    &lt;d&gt;v4&lt;/d&gt;\n    &lt;e&gt;4.3.2&lt;/e&gt;\n    &lt;f&gt;98.193.54.223&lt;/f&gt;\n    &lt;g&gt;514650d8dba4784ed08b5a029583576361a50bc5&lt;/g&gt;\n    &lt;h&gt;-3272.3179572637086&lt;/h&gt;\n    &lt;i&gt;940.839492700698&lt;/i&gt;\n    &lt;j/&gt;\n    &lt;k/&gt;\n    &lt;l&gt;2019-05-24 10:24:35&lt;/l&gt;\n    &lt;m&gt;8797e74f0d6eb7b1ff3dc114d4aa12d3&lt;/m&gt;\n  &lt;/v:Header&gt;\n  &lt;v:Body xmlns:n0=\&quot;http://soap.ws.placa.service.sinesp.serpro.gov.br/\&quot;&gt;\n    &lt;n0:getStatus&gt;\n      &lt;a&gt;LSU3J43&lt;/a&gt;\n    &lt;/n0:getStatus&gt;\n  &lt;/v:Body&gt;\n&lt;/v:Envelope&gt;',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
      'User-Agent': 'SinespCidadao / 3.0.2.1 CFNetwork / 758.2.8 Darwin / 15.0.0',
      Host: 'cidadao.sinesp.gov.br'
    },
  }, (err, httpResponse, body) =&gt; {
    if (err) return console.error(err);
    console.log(JSON.stringify(httpResponse));
  });
  </code></pre>
  <p>But after upgrading to <code>v12.2.0</code> or above I got the following error:</p>
  <blockquote>
  <pre><code>Error: write EPROTO 17432:error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol:c:\ws\deps\openssl\openssl\ssl\statem\statem_lib.c:1922:
  
      at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:83:16) {
    errno: 'EPROTO',
    code: 'EPROTO',
    syscall: 'write'
  }
  </code></pre>
  </blockquote>
  <p>How can I fix it?</p>