Accept tls options.

Needed to set rejectUnauthorized for self signed certificates.