dependency upgrade
upgrade to httpClient 4.3.x, refactoring code