IPv6 support for php-fpm

This removes hardcoded IPv4 code and adds support for IPv6