PHP class for validating web documents with W3C validation API