Implemented a filter for servlet.

The pipeline is getting a bit ugly. It could use some hard thinking to make sure this is the best way to go about sending the result up and down the route tree.
More fiddling with Filter signatures