fix "wrong version number" error for HTTPS by using SSLv23