ssl_init should probably be global to the module