[SQUASH ME] netapi: address @OlegHahm's comments + some formatting
[SQUASH ME] netapi: add demuxing context to reg command