kjd/idna — pull request #3 by underrun (2014-06-18 15:50:24+00:00)
Title: aggressively lower case idns

only lower case is allowed, but sometimes people have stored upper case
idns - in order to decode these, they need to be lower()ed after
punycode decoding in order to be a valid domain label.

example: ԡԥԣ-ԣԣ-----ԡԣԣԣ.tk
existing encoding of XN---------90GGLBAGAAC.TK
decodes to: ԡԤԣ-ԣԣ-----ԡԣԣԣ.tk
which is not allowed.
lower casing the punycode decoded upper case label and then re-encoding to idna gives fixed result:
xn---------90gglbagaar.tk