Explicit export list in Network module
Simplify functions to allocate/release ports