http gzip: Allow Z_OK return value from deflate