Add TravisCI Nodejs 10 and 8. Improved/fixed unit tests for running on Node.js 10.
Made 'maxHeaderSize' configurable.
// Monkey patch before you require http for the first time.
process.binding('http_parser').HTTPParser = require('http-parser-js').HTTPParser;
require('http-parser-js').HTTPParser.maxHeaderSize = 1024 * 1024; // 1MB instead of 80kb
var http = require('http');
// ...