fix SNI for transparent mode - #1638
fix SNI for transparent mode - #1638

In transparent mode host is set with the target server ip.
Attribute flow.request.host is used as SNI while mitmproxy is
initiating TLS handshake, so it should be set with the pretty_host.

laurmurclar/mitmproxy,Kriechi/mitmproxy,mitmproxy/mitmproxy,dwfreed/mitmproxy,StevenVanAcker/mitmproxy,mitmproxy/mitmproxy,mitmproxy/mitmproxy,mhils/mitmproxy,vhaupert/mitmproxy,ddworken/mitmproxy,MatthewShao/mitmproxy,mosajjal/mitmproxy,laurmurclar/mitmproxy,xaxa89/mitmproxy,MatthewShao/mitmproxy,vhaupert/mitmproxy,mhils/mitmproxy,ujjwal96/mitmproxy,dwfreed/mitmproxy,zlorb/mitmproxy,zlorb/mitmproxy,mitmproxy/mitmproxy,mhils/mitmproxy,laurmurclar/mitmproxy,dwfreed/mitmproxy,mosajjal/mitmproxy,StevenVanAcker/mitmproxy,ddworken/mitmproxy,mosajjal/mitmproxy,StevenVanAcker/mitmproxy,ujjwal96/mitmproxy,ddworken/mitmproxy,ujjwal96/mitmproxy,zlorb/mitmproxy,mosajjal/mitmproxy,Kriechi/mitmproxy,MatthewShao/mitmproxy,xaxa89/mitmproxy,laurmurclar/mitmproxy,dwfreed/mitmproxy,cortesi/mitmproxy,mitmproxy/mitmproxy,cortesi/mitmproxy,Kriechi/mitmproxy,vhaupert/mitmproxy,xaxa89/mitmproxy,vhaupert/mitmproxy,StevenVanAcker/mitmproxy,ujjwal96/mitmproxy,xaxa89/mitmproxy,Kriechi/mitmproxy,ddworken/mitmproxy,MatthewShao/mitmproxy,cortesi/mitmproxy,mhils/mitmproxy,mhils/mitmproxy,zlorb/mitmproxy,cortesi/mitmproxy