Although I don't contribute to it anymore, I worked on a similar project that seems to have some continued activity:<p><a href="https://github.com/lightbody/browsermob-proxy" rel="nofollow">https://github.com/lightbody/browsermob-proxy</a><p>It's Java-based and forked out from some old MITM code from Selenium. It has a bunch of APIs for manipulating traffic, tweaking DNS resolution, rewriting content, etc. Just passing along in case anyone is looking for alternatives.