title: Node HTTP Delete request no longer works after upgrading from 0.10.40
body: <p>I've been trying to upgrade most of my node stuff to 4.x but am running into some problems with executing delete queries to Elasticsearch. The following worked on 0.10.40 and prior, but does not work on 4.x.x or 5.7.0. I'm out of ideas, it appears that node doesn't send the body of my request as the error I get back from Elasticsearch is <code>{"error":"ActionRequestValidationException[Validation Failed: 1: source is missing;]","status":400}</code>.</p>
  
  <pre><code>var http = require('http');
  var request = http.request({
      host: 'localhost',
      port: 9200,
      path: 'test/col/_query',
      method: 'DELETE'
  });
  
  request.on('response', function(res) {
      res.setEncoding('utf8');
      res.on('data', function(response) {
          if(response.indexOf('"failed":0') === -1) {
              console.log('Failed. Response: ', response);
              process.exit(1);
          }
      });
      res.on('end',  function() {
          console.log('completed successfully');
          process.exit(0);
      });
  });
  request.on('error', function(err) { cb(err); });
  
  var q = {
      query: {
          "bool": {
              "must_not": [
                  {"ids": {"values": ['1','2','3'] } }
              ]
          }
      }
  };
  
  request.write(JSON.stringify(q));
  request.end();
  </code></pre>