switched to simpler MAC authenticated design; added automatic peer discovery; cleaned up code; fixed manipulation of ifr_flags (it is a 16-bit field, not 32)