feature(cli): Make resource protocol configurable

Defaults to `'http:'`.