Ring middleware for common headers