A MITM proxy for instrumenting HTTP/S traffic