function tlsConnect(options) {
  options.path = undefined;

  if (!options.servername && options.servername !== '') {
    options.servername = net.isIP(options.host) ? '' : options.host;
  }

  return tls.connect(options);
}
Create a `tls.TLSSocket` and initiate a connection.

@param {Object} options Connection options
@return {tls.TLSSocket} The newly created socket used to start the connection
@private