add advanced proxying options, add SSL-terminating capability to mitmproxy