Set a constant for protocol used (http or https)