tls: Server should honor previous "timeout" listeners

This fixes #7764 and allows HTTPS servers to follow the same socket timeout behavior as HTTP servers.
You don't need the `| 0` part, since that only does an `int` coercion.