Code for handling unicode/punycode name conversions v2

Opening new PR for clean commenting
That is quite a detailed comment, thanks. I hope I fixed all things you mentioned (including iamadummy one). Agreed about func names.