patched up openssl/ssl support (detection now)