catchup tm_net.c with runtime changes in https://github.com/tessel/runtime/pull/313
Merge remote-tracking branch 'natevw/net-module' into net-module-test