Custom Tomcat valves