Track MAC addresses of agents

This class needs some explicit tests.