Fix for issue SPR-10219 / Tomcat Session Replication under Spring 3.2

Fix issue SPR-10219 so that session replication work under tomcat.