Allow multicast sockets with socketwrite and socketwrite_d