use trimmed headers only during request processing