Windows XP fixes

fixed getgateways returning only the last of gateways
fixed pcp_inet_pton to work for IPv6 adresses too
New configure option to disable use of IPv6 socket