Change API protocols to https