fix “error -5 while decompressing data” when HTTP endpoint returns gzip’d stream without Z_STREAM_END
remove defunct regexes