tls: Server should honor previous "timeout" listeners

This fixes #7764 and allows HTTPS servers to follow the same socket timeout behavior as HTTP servers.