We are in progress of making an ad blocking proxy.
The proxy must do both url filtering and body content editing based on regex (including https traffic). We are yet planning the whole system.
Our current stack: Squid + SSL bump + eCAP adapter
You think you can help us? Let's get in touch.