A lightweight and promise-based XHR wrapper.