Converted nsAutoConfig to use NewChannel2