allow TlsConfig to be overwritten