added getter / setter for tls config, add sslMethod enum