Adding TLS support to the syslog calls.