WIP. Fixed packet_in offset bug. Now working on stats.