Replace SSLv2 to SSLv3 to avoid invalid protocol error