Fix: detect RPC endpoint and SSH multiplexing conf

ideally old new code uses `Readonly`.