Fix bypass for tls-required (thanks to Zeha)