add time stamp to traces, add support for XMLHttpRequest