creating user semaphores under Linux.
Added lock callback functionality for interfacing with OpenSSL in a multi-threaded environment.