net: Initial import of a global packet buffer

Cleaner alternative to #1129. Queue in #1640 

This is basically a static malloc + sugar
I find this commenting style somewhat confusing. Maybe putting it behind the documented lines is easier to read.