set protocol in URL