SERVER-7940 do not call non-reentrant functions more than once

Some SSL initialization functions are documented as being non-reentrant,
so let's make sure we only call them once per process.
Note that this won't guarantee anything for the C++ driver usage of SSL.