title: tomcat cookie domain validation
body: <p>I'm using tomcat 8.0.21 with the new Rfc6265 cookie processor. If there are cookies starting with a dot I'm getting the following error:</p>
  
  <pre><code>java.lang.IllegalArgumentException: An invalid domain [.db-app.de] was specified for this cookie
  org.apache.tomcat.util.http.Rfc6265CookieProcessor.validateDomain(Rfc6265CookieProcessor.java:180)
  org.apache.tomcat.util.http.Rfc6265CookieProcessor.generateHeader(Rfc6265CookieProcessor.java:122)
  org.apache.catalina.connector.Response.generateCookieString(Response.java:959)
  org.apache.catalina.connector.Response.addCookie(Response.java:907)
  org.apache.catalina.connector.ResponseFacade.addCookie(ResponseFacade.java:392)
  org.esigate.servlet.impl.ResponseSender.sendResponse(ResponseSender.java:70)
  com.bahn.esiExtensions.ExtendedProxyServlet.doFilter(ExtendedProxyServlet.java:104)
  </code></pre>
  
  <p>Is there a way to prevent tomcat from throwing this error? </p>