ADD: Function to download and validate an (optionally gzipped) XML against a DTD