content stream parsing