Enabled CORS for browserifying

Layed the basis for making this module browserifyable by sending all
requests via corsproxy.com. Currently this is not yet possible because
of this issue in http-browserify:
https://github.com/substack/http-browserify/pull/35