FilterProvider support for both version 2.2 and 2.4 of apache