Fix hardcoded protocol.

Found this while investigating a ZD ticket; addresses https://rusticisoftware.atlassian.net/browse/CLOUD-113.