protocols.c: Restrict the resulting url length to at most 254 characters.