Fix handling of errors during Win32TCPConnection.connect.
Improve error messages for Win32TCPConnection.