Use log4j Nested Diagnostic Contexts for request ID rather than manually prepending it