protected String buildProxyCookiePath(HttpServletRequest servletRequest) {
    String path = servletRequest.getContextPath(); // path starts with / or is empty string
    path += servletRequest.getServletPath(); // servlet path starts with / or is empty string
    if (path.isEmpty()) {
      path = "/";
    }
    return path;
  }
Create path for proxy cookie.

@param servletRequest original request
@return proxy cookie path
src/main/java/org/mitre/dsmiley/httpproxy/ProxyServlet.java