function validateLink(url) {
		// url should be normalized at this point, and existing entities are decoded
		var str = url.trim().toLowerCase();
		return BAD_PROTO_RE.test(str) ? GOOD_DATA_RE.test(str) ? true : false : true;
	}
An object of methods to convert from JavaScript's internal character
representation (UCS-2) to Unicode code points, and back.
@see <https://mathiasbynens.be/notes/javascript-encoding>
@memberOf punycode
@type Object