Change default endpoint to use https