Resolve "Set RPC protocol and auto_sm at runtime and not compile time" Closes #101 and #118 See merge request !40