Extract base class with params and headers for proxy filters

Fixes gh-103