Implementing methods broadaddr, addr, ifindex, netmask (ipv4 only) of Socket::Ifaddr