Let zlib handle checking the header.