http client replaced to better handle connection errors. Without handling timeouts, unsuccessful request would leave the connection opened forever, resulting in increasing memory usage by time. Default timeout set to 10sec.. 60sec could be a more conservative approach
Merge remote-tracking branch 'upstream/master'
merge changes from zgiber which incorporates timeouts for better reliability