dgram (udp) catchup with runtime/pull/595

Should be ready, but does require coordinated release with <del>https://github.com/tessel/runtime/pull/595</del><ins>https://github.com/tessel/runtime/pull/622</ins>.
Assign to 0 first to outsmart GCC compiler warnings.