implement header fragment append
add settings of initial stream state