add streamHeader support