shellcheck
shfmt
plugins/proxy: use `_command_exists()` Alsö, quote variables, handle unbound parameters, &c.