Use TLSv1 in https connection