sys: net: Initial import of a general interface to a network protocol

The definitions for the new network stack API
Hm, can you think of a name for this function that is more "speaking"?