Refactoring for filtering request

- introduced beforeActionAsyncHooks
- moved __filterRequest functionality into same named extension into such a hook
- reflected request filtering in the demo app