TLS: Avoid accessing listener socket flags from other threads when accepting a connection
This commit ensures that the flags inside a TLS listener socket object (and associated worker) are accessed when accepting a connection only from within the context of the dedicated thread, but not other worker threads.