Refactored beacon to support IPv4 abd IPv6 multicast
Implemented IPv6 support