IPv6 and internationalized domain (IDNA) functions for MySQL