Packet tracking

Very basic implementation to count packets processed by emonhub and enable tracking of packets in the logfile.