Bring back IDN support

Fixes #1213
Merge pull request #2693 from wordpress-mobile/issue/1213-punycode-fix

Bring back IDN support