Move make_rpcError to protocol
Move initialization of HTTPClient ssl context
[FOLD] move make_rpcError