A software company wants to develop a component that does many of the pre-processing stuffs like whether the requests are coming from authentic sources, filtering unwanted data in the request object. What type of pattern will be the best match for developing such a component?