@Override
        public HttpResponse execute(HttpRequest request, HttpClientConnection conn, HttpContext context) throws IOException, HttpException {
            HttpInetConnection connection = (HttpInetConnection) conn;
            context.setAttribute(HOST_ADDRESS, connection.getRemoteAddress().getHostAddress());
            return super.execute(request, conn, context);
        }
HttpExecutor to record host address in context.
crawler-commons/src/main/java/achecrawler/crawler/crawlercommons/fetcher/http/SimpleHttpFetcher.java