Update connection.js

I've spent entire day debugging the module, because no matter what I did - the TLS didn't connect, while the "raw" tls connection works perfect. So, i fugured out that probably due to recent TLS changes, if the "socket" present before connection inside of the options class - connection never happens.

Have fun.