Check DOCTYPE of XML reponses sent through proxy