Lots of documentation can be found here: http://wiki.apache.org/tomcat/Cookies
This has been implemented in 8.0.x for 8.0.15 onwards. Cookie processing is now pluggable so users with unusual / non-specification compliant requirements are able to insert their own cookie processor if required.