To prepare for completion of the [socket -async] implementation:
  *  Move the server code from CreateSocket to Tcl_OpenTcpServer.
  *  Rename CreateSocket to CreateClientSocket.
  *  Unify the naming convention of socket channels with Unix (sock + hex representation of the state/info structure).
merge trunk
Merge trunk
Broken intermediate state.

Calling back to CreateClientSocket() from the event loop works, but
the final failed or succeeded state of an asyncronous socket does not
get notified to the channel correctly.
Make printf debugging switchable, because it affects 'make test'
WIP: async open event now passes to SocketEventProc() and connects but doefinalyze that (I guess).
Reverted move of WSAAsyncSelect before connect -> FD_Connect message does also fire if it exists on call.
WIP
Next async connect try works. Reset error and move notifier before connect.
Print out the value of infoPtr in DEBUG, so that coexisting sockets can be distinguished in the output.
avoid warnings about uninitialized infoPtr in DEBUG
Refactor the error handling logic around connect()
gets blocked in async case: SOCKET_ASYNC_CONNECT was not cleared
Terminate async connect syncroneously by any blocking operation
More debug to chase different fd in struct than in callback
Still incomplete info structure in event proc: try to protect with locks (unsuccesful). Probably locks in accept socket creation missing.
  *  tclUnixSock.c: Fix WaitForConnect() for client sockets that have to try more than one address.
  *  socket.test: Extend and improve tests for [socket -async]
  *  socket.test: Add latency measuring and calculation for Windows.
Workaround if FD_CONNECT notification comes before socket list registration in TcpThreadActionProc
Also continue async connect without event loop if gets/puts is called (test)
Fire write fileevent if async connect fails finally (test socket-14.2)