restored HttpClient to original version from Titanium Mobile repo