use local headers_names array instead of stored in configuration and allocate its elements from temporary pool