A wrapper to make the popular request library return promises