Adding not quite precise fallback PHP implementations of IDN functions.