Description
Improve debugging support in REST.
Add a debugFlags setting that allows you to pass in the following:
LOG=[REQ,REQ_BODY,RES,RES_BODY]
REQ - log incoming requests
REQ_BODY - log incoming request bodies
RES - log outgoing responses
RES_BODY - log outgoing response bodies
PATTERN=* - only match the specified URI patterns