Fix assertion failed in tcp_listener.cpp:58

Closes issue LIBZMQ-504
Merge pull request #77 from BoresExpress/master

Closes issue LIBZMQ-504