note that SSL_library_init() is not reentrant