added ipv6 capabilities for Mac OS X