Use TLSv1 instead of SSLv3 to connect to provider

SSLv3 is being phased out due to POODLE attack