The RemoteIpValve sample configurations incorrectly refer to a "remoteIpProxiesHeader" property, rather than the "proxiesHeader" property. http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/valves/RemoteIpValve.html
Thanks for the report. This has been fixed in trunk and will be included in 7.0.42 onwards.