making the base url conditionally https
Merge pull request #2 from gusreiber/patch-2

making the base url conditionally https