miscellaneous +/- (commands, dht, net)

a shared branch of innocuous miscellaneous fixes. Feel free to push. ~~Will be rebased after Dec 1, 01:00 UTC and merged.~~
yeah i agree it's nbd. just want to get `go test -race` to pass.

- [ ] privatize e33e89a0c9982eb009007b9ce7ff8be63e2206a5