Code for handling unicode/punycode name conversions

Addressing #120
good point :)