Thread mode resolves network options without loading config-backed
defaults, so configured hostname, port and mDNS settings are ignored
unless they are passed on the command line.
Use the config-aware resolver so thread mode follows the same network
resolution path as the rest of the CLI.
675a46e23e regressed a fix from 390b0a79