Using interface instead of implementation

Using HttpClient interface instead of CloseableHttpClient implementation