function setLengthHeader(message) {
	    return message.length + ':' + message;
	  }
Encodes multiple messages (payload).

    <length>:data

Example:

    11:hello world2:hi

If any contents are binary, they will be encoded as base64 strings. Base64
encoded strings are marked with a b before the length specifier

@param {Array} packets
@api private