Move IDNA methods to URLUtils; improve Javadoc.