refactored acquiring interface info in zbeacon
added acquiring broadcast address in getifs method