Fix compilation followig removal of commons-httpclient dependency. See BZ1155314: CVE-2012-6153 CVE-2014-3577