check whether ipv6 is open,first commit

i have test it on cloudfoundry