
xdmp.requestForwarded() as Boolean
Returns true if the current HTTP or XDBC request was forwarded
via a proxy or load balancer, as indicated by the presence of an
X-Forwarded-For HTTP header (case-insensitive).
Returns false if no such header is present, or if the function
is not called from an HTTP or XDBC request context.
xdmp.requestForwarded(); => true (if an X-Forwarded-For header was present on the request)