Convert from HttpClient 3.1 to HttpClient 4.3