curl https bug workaround.