title: http.get Parse Error, code: 'HPE_UNEXPECTED_CONTENT_LENGTH'
body: <p>I have a simple node script to process some data from my home automation API. Everything worked fine till last Node update. Now, with Node version 4.3.0 or 5.6.0, the http module gives me this error:</p>
  
  <pre><code>{ [Error: Parse Error] bytesParsed: 193, code: 'HPE_UNEXPECTED_CONTENT_LENGTH' }
  </code></pre>
  
  <p>An example of the API call causing the error, it just returns one number (a temperature):</p>
  
  <pre><code>HTTP/1.1 200 OK
  Access-Control-Allow-Credentials: true
  Access-Control-Allow-Origin: *
  Connection: keep-alive
  Content-Length: 5
  Content-Type: application/json
  Transfer-Encoding: chunked
  
  21.81
  </code></pre>
  
  <p>And a code to reproduce an error:</p>
  
  <pre><code>const http = require("http");
  const url = "http://127.0.0.1:8083/ZWaveAPI/Run/devices[11].instances[2].commandClasses[49].data[1].val.value";
  
  http.get(url, (res) =&gt; {
      // consume response body
      res.resume();
  }).on("error", (e) =&gt; {
      console.log(e);
  });
  </code></pre>
  
  <p>I think that error related to the <a href="https://nodejs.org/en/blog/vulnerability/february-2016-security-releases/#cve-2016-2216-response-splitting-vulnerability" rel="noreferrer" title="CVE-2016-2216 Response Splitting Vulnerability">CVE-2016-2216 Response Splitting Vulnerability</a>, but I tried to run the script with mentioned there <em>--security-revert=CVE-2016-2216</em> flag and it didn't help. Any ideas?</p>