Actually implement the http module correctly for browserify