sys : net : Packet buffer

~~Based on #1101. Tests will follow~~

This PR adds a priority-based packet buffer datatype for the network stack.
Seems to comprise quite some code duplication.