Removed last unsafe foreach from multicast setsockopt