main: Test if commands are local-only when choosing daemon vs. local
commands/cli,http: Properly preserve argument value count when checking argument validity