JJ: fix for SSLv3