register rpc service in request_handler.