updated to compile without sslv2 sslv3