added code to select either OpenSSL or BSAFE SSL-C libraries