Add Promise support to HTTP get/post/put/delete methods