Prevent a redirect and use the final URL
If we got bogus XML that can't be parsed, provide a better error message instead of a trace. Fixes #77