fix jsr 107 tck issue #70 fail to work with ipv6 networking under certain conditions