Add support for International Domain Names and aded unit tests