Fix issue #346

This is copied from the libzmq 3 repo:
https://github.com/zeromq/libzmq/commit/27c28bdc2e2c1aa3d3dfeca055cc03165f6f98ca
add debugging line to tcp_connector
Add branding logos.
Add version resource file input for Autoconf.
Add NSIS templates for Windows.
Add CMake build instructions for Windows building and CPack based installer creation.
Add additional Windows Sockets Error Codes.
Merge pull request #61 from steve-o/err-handler

Fix #LIBZMQ-329 assertion on WSAEACCES
Merge pull request #60 from steve-o/branding

Branding for ZeroMQ
Merge pull request #62 from da2ce7/master

Fixed a Crash Bug only seen with unicode on Windows.
Update master
Add errno fallback values for MSVC2008.
Merge pull request #63 from steve-o/err-handler

Add errno fallback values for MSVC2008.
Fix missing ENETRESET for Jira #LIBZMQ-329.
Merge pull request #65 from steve-o/err-handler

Fix missing ENETRESET for Jira #LIBZMQ-329.
Merge pull request #59 from bumptech/master

back port fix for #346
Fixed documentation of HWM on ZMQ_PULL
Fixed issue #395
Merge pull request #66 from hintjens/master

Fixed HWM doc on ZMQ_PULL
Backport fix LIBZMQ-404: zmq_term not truly re-entrant

zmq_term can not safely be re-entered with pgm transport.
Backport to 2.x of the fix proposed by Steven McCoy.