curl: allow enabling https protocol