WFLY-2615 getHostPort() does not handle IPv6 addresses