a shim for matthewp/xhr in browserify/node-land