Add implementation of the getBroadcastAddress but it's not working so good. Check it