reworked HTTP streaming support