Use request.headers instead of request.env for lookups