Layering is how you design networking protocols, not how you implement them.