WIP NEXUS-6501: Request URL validation (most complete)

Related to https://github.com/sonatype/nexus-oss/pull/503
A more complete but also more involved solution

Issue
https://issues.sonatype.org/browse/NEXUS-6501

CI
http://bamboo.s/browse/NX-OSSF25