Modularize app.
Logic separation in modules. Add ToS to parsing.
Finish (almost) parsing the IP datagram.
Check next protocol on layer 2 before committing to parse TCP.
Small TODO.