[PATCHv2 2/5] tls: Add a mutex lock on 'tlsCtxt'