Add fetch_server_vars_hash function to reduce _server lookup