Change Exception to RuntimeException. Add some changes for IDNA support. Add support for namespaces.