Merge this in: https://github.com/driverdan/node-XMLHttpRequest/pull/140 Thanks for the PR @jasonjensen