Switch multicast autodiscovery from IP_ADD_MEMBERSHIP to MCAST_JOIN_GROUP
Added ipv6 MCAST_JOIN_GROUP socket option.