Refactored web debugging; move logic into HttpScriptlet::trace() method

and respectively into XMLScriptlet, too. This approach seems cleaner and
opens more possibilities.