Add tests for auto-detecting xml/html documents
Implement auto-switching to xml based on header
Add tests for auto-detection of XML file extensions
Implement auto-detection of XML file extensions