Modified https_try