Use https endpoint by default