REFACTOR: httpTrace