_headersGetter(parsedHeaders) {
            return (name) => {
                if(name) {
                    return parsedHeaders[name.toLowerCase()] || null;
                }
                return parsedHeaders;
            };
        }
Returns function that returns headers
@param {Object} parsedHeaders
@returns {Function}
@private