moved rpcErrorHook() from RCServer to Vdev_t.