backport OPENSSL_NO_SSL3 change to 0.7.x branch

Cherry picked from master.