Replace use of deprecated AsyncHttpClient with HttpClient