Fix listener

Fix #1633

Create a tls listener only if the tlsInfo is empty and the scheme is HTTPS