code: public void handle(
          String pathInContext,
          String pathParams,
          HttpRequest request,
          HttpResponse response)
          throws HttpException, IOException
      {
          String userAgent = request.getField(HttpFields.__UserAgent);
          
          if(userAgent != null &&  
             userAgent.indexOf( userAgentSubString)>=0 &&
             HttpRequest.__SSL_SCHEME.equalsIgnoreCase(request.getScheme()))
          {
              if (log.isDebugEnabled())
                  log.debug("Force close");
              response.setField(HttpFields.__Connection, HttpFields.__Close);
              request.getHttpConnection().forceClose();
          }
      }
docs: /*
  @see org.browsermob.proxy.jetty.http.HttpHandler#handle(java.lang.String, java.lang.String, org.browsermob.proxy.jetty.http.HttpRequest, org.browsermob.proxy.jetty.http.HttpResponse)