Add docstring to json-rpc-with-connection.