add conditional tracing of http requests