title: node.js node-http-proxy not receiving trailers
body: <p>I'm adding a trailer to a response in Node and I just can't seem to get the trailer to be received as part of the message. I want to use it to send timing information back to a load balancer I've written in Node, so it can monitor if requests are queuing for a long time in a particular worker.</p>
  
  <p>I'm trying with just a basic app to get it working first, which I've taken from the documentation for <a href="https://nodejs.org/dist/latest-v4.x/docs/api/http.html#http_response_addtrailers_headers" rel="nofollow">addTrailers</a>:</p>
  
  <pre><code>var http = require("http");
  
  var server = http.createServer(function (req, res) {
       var fileData = "Hello World!";
       res.writeHead(200, { 'Content-Type': 'text/plain',
       'Trailer': 'my-trailer' });
       res.write(fileData);
       res.write("\r\n");
       res.addTrailers({'my-trailer': 'test'});
       res.end();
  });
  server.listen(12345);
  </code></pre>
  
  <p>I'm using node-http-proxy in the load balancer and it doesn't receive the trailers, Charles Proxy doesn't show them and neither does curl 7.35.  However, wireshark does show the data at the end of the packet:</p>
  
  <pre><code>c
  Hello World!
  2
  
  
  0
  my-trailer: test
  </code></pre>
  
  <p>Does anyone know what you have to do to get Node to parse a trailer from a message rather than discard it?</p>