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

The definitions for the new network stack API
Use `PRIkernel_pid` instead of `%d`.