[NEXUS-5957] Only act when original request path should change

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
[NEXUS-5957] Use try with resources

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
[NEXUS-5957] Fix TODOs (log that we cannot process & ignore) / Fix logger

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>