Move TLS settings to Server