Fix small issue with headers to allow xml.

I reckon this is what you intended in FetchURL. BTW more recent versions of BeautifulSoup appear not to support the transforms you do later.