I think this may not be necessary if we are assuming node >= 0.6.x because zlib will always be present. Still need the accept encoding check though.