A Promises based XHR wrapper designed to replicate request's interface