[88aef05cda] Stop reentrancy segfault in reflected channels by managing
callbacks as (copies of) lists, not shared Tcl_Obj arrays.  Still could
use cleanup and improvements.
Purge (now unused) argc and argv fields.
Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. 
Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. 
Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x)
Segmentation fault using some functions of tcl::clock, fixed, belong to ticket [d19a30db57]
Fix compiler warnings in win32/cygwin build.
merge fork: Segmentation fault using some functions of tcl::clock, fixed, belong to ticket [d19a30db57]
Test for [d19a30db57].
Test for [d19a30db57] extended
Repair new test so all parts will be effective.
Simplify reflected channels.
Instead of having two modes of Close operations and the need to choose
between them with a special value of the methods field, when the initialize
pass fails for some reason, simply do not create the channel so there's
nothing that needs closing.  Then the methods field no longer holds anything
used, so eliminate it.  All the methods checking is done by [chan create].
Reflected channels.  Keep a set of method names cached so we don't create
new each operation, and we can benefit from any lookup info cached in intreps.
Another test exposing another segfault.
Added a refcounting mechanism to ChannelBuffers.  Other edits to
stop segfaults in tests iocmd-21.2[12].
Memory leak after thread exit, fixed (alloc cache released by exit), belong to ticket [3493120]
Add refcounting and preservation to [testchannel transform] to stop segfault
in test iogt-2.4.
*nix segfault cleared: we should reset a thread key after freeing of alloc cache (in tclUnixThrd.c)
[3493120] Plug memory leak in thread exit.
Disable buffer recycling to expose bugs for fixing.
Revise the logic for setting TCL_ENCODING_END in the outputEncodingFlags
so it does not rely on buffer recycling.
Fix bug exposed when buffer recycling is disabled.