add multi-thread stuff for OpenSSL