Ok thanks guys for your feedback: I am going to proceed with a series of commits to master. These can then be reverted easilyt. To each commit message I will also add the label thread-local to facilitate review and search.
@miconda you are correct regarding libssl-initialization threads in rank 0; they are run-and-done type are will complete before `fork()`.