client: add hashes for fd/name lookups