A yielded returning http request wrapper for nodejs and the browser