Converted nsHTMLDocument to use NewChannel2 (part 2)