Fixes url to use https