add support for IPv6 addresses at bitfire_pure.php:285-290
