Apply patch 09 from jboynes to improve cookie handling.
Code cleanup.
I did not remove the final markers from the static methods as I see no need to remove them and good reasons to keep them.
The patch should be safe since the logic is unchanged.


git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1596656 13f79535-47bb-0310-9956-ffa450edef68