libnoc: Add function for multicast sending and cleanups.