added null check when checking for content-encoding header within the co...

...mpressing filter