Potential fix for openssl handshake issues between 0.9.8 and 1.x