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