Redmine#3872

For Redmine#3872 - change AF_INET to AF_UNSPEC to fix IPv6 in cf-agent