Update following web resource model 1.0 changes; more smoothly handle gzipped content