IPv6 support for php-fpm (fixes: #55508)

This removes hardcoded IPv4 code and adds support for IPv6