Code for handling unicode/punycode name conversions v2

Opening new PR for clean commenting
Added. Sorry did not know you had branch that was better to work on... I can rebase if needed.