add support for RPC callback validation