[2.8.x] NEXUS-6569: Add X-Content-Options header

Backport of
https://github.com/sonatype/nexus-oss/pull/525