Fix hardcoded protocol.