Added servername to tls Config. Should fix connection issues.