fix http url to be https and adapted proxy