I prefer using MITMproxy/dump together with Node but this is a lot more simpler tool to get your head around.
Reply on news.ycombinator.com