Support for fully transparent proxying including man-in-the-middle on TLS connections

Clients do need to send the SNI value in the TLS ClientHello which most modern clients do these days
I'm using an internalized connectDial now as you requested.  In my defense, I just copied your code from the eavesdropper as my starting point :)