Server setup with proper hash functions and data structures.