private static final byte[] createPayload(byte[] buf) {
        StringBuilder bu = new StringBuilder();
        for (int i = 0; i < buf.length; i++) {
            bu.append("id:banana:banana::doc1 0\n");
        }
        return Utf8.toBytes(bu.toString());
    }
Stream with extra data outside the actual input stream.

@author <a href="mailto:steinar@yahoo-inc.com">Steinar Knutsen</a>
vespaclient-container-plugin/src/test/java/com/yahoo/vespa/http/server/MetaStream.java