add rpc support for hive_gui