Fixed to use https protocol if present