Refactor handler-fn.
Begin to refactor the packet processing pipeline.
Continue packet processing pipeline refactoring.
Further extract handler functionality.
Further separate functionality into distinct units.