class DefaultKeepAliveStrategy implements KeepAliveStrategy {

    /**
     * Implemented in accordance with RFC 7230 section 6.1 <a href="https://tools.ietf.org/html/rfc7230#section-6.1">...</a>
     */
    @Override
    public boolean keepAlive(InetSocketAddress remoteAddress, Request ahcRequest, HttpRequest request, HttpResponse response) {<FILL_FUNCTION_BODY>}
}

        return HttpUtil.isKeepAlive(response) &&
                HttpUtil.isKeepAlive(request) &&
                // support non-standard Proxy-Connection
                !response.headers().contains("Proxy-Connection", CLOSE, true);
    
<no_super_class>