streaming: add option to include cdx header in first block