Add config option for disabling RPC

I'm not sure if this is correct, but hopefully it closes #1684 (closed).

Merge request reports

Loading