SSLv3 fixes