Merge this in: https://github.com/driverdan/node-XMLHttpRequest/pull/126/files Thanks for the PR @James0x57