Prepares a JS5 buffer to be in a format read to be served to the clients, by splitting the payload up into chunks of 512 bytes, which each have a 0xFF terminator splitting them.