Allow using https instead of http