fix Python 3.6 compatibility
fix Python 3.6 compatibility

mitmproxy/mitmproxy,Kriechi/mitmproxy,mhils/mitmproxy,mitmproxy/mitmproxy,mitmproxy/mitmproxy,Kriechi/mitmproxy,mitmproxy/mitmproxy,Kriechi/mitmproxy,mhils/mitmproxy,mhils/mitmproxy,mhils/mitmproxy,mitmproxy/mitmproxy,mhils/mitmproxy,Kriechi/mitmproxy