Added trace for OnClose
Flush the system.net logger on dispose.
Only turn on system.net traces for non memory host.
Added tracing to more tests.