don't silently disable CH_DBG_ENABLE_STACK_CHECK - make it an error
initial (working!) pthreads support for network io
cleanup and use outbound connections for output data
undo printf changes in chdebug.c
improve use of locks; squish bugs