Uses the XMLUtils.newDocumentBuilderFactory() method to obtain
DocumentBuilderFactories in order to have external entities and doctype
declarations disabled while parsing.
Updates the smack lib.