Make connections nonblocking

This makes initial TCP connections to the server and the SSL MiTM establishment non blocking. This should help performance and scaling.