fix for streams with multiple HTTP headers