handle newrelic middleware proxy wrappers