big commit chunk to fix support for multiple content filters (non HTTP byte range scenario).
some of this code will be backported to the develpo branch.