Use vary module

Hi! So I'm making this PR to see what you guys think about using the `vary` module to manipulate the `Vary` response header instead of duplicating logic. :)