An enhanced http client with promise support for Appcelerator Titanium Alloy