code: public Object enterContextScope(HttpRequest request, HttpResponse response)
      {
          // Make sure servlet wrappers exist for request/response objects
          ServletHttpRequest srequest = (ServletHttpRequest) request.getWrapper();
          ServletHttpResponse sresponse = (ServletHttpResponse) response.getWrapper();
          if (srequest==null)
          {
              // Build the request and response.
              srequest = new ServletHttpRequest(getServletHandler(),null,request);
              sresponse = new ServletHttpResponse(srequest,response);
              request.setWrapper(srequest);
              response.setWrapper(sresponse);
          }
          
          return super.enterContextScope(request,response);
      }
docs: /*
  @see org.browsermob.proxy.jetty.http.HttpContext#enterContextScope(org.browsermob.proxy.jetty.http.HttpRequest, org.browsermob.proxy.jetty.http.HttpResponse)