IDNA encoding/decoding issue fix

Related to #46