Merge this over: https://github.com/driverdan/node-XMLHttpRequest/pull/167 Thanks for the PR @maxgalbu