System-wide fix for IDNs. Fix for unicode in urls.
Revert to previous code, this was unnecessary.
Slight logic flaw.
Final cleanup
Merge pull request #354 from TheMightyBuzzard/IDN

Idn