return -1 for rpcExecute if server did not register any functions