added multicast socket

Change-Id: I632e37d6917b8598490f727a3b22b62cde0590c6
refactorings

Change-Id: I0ca7bd5caf10635a17bee4124d6d36ee72bbb7ea