Closes issue LIBZMQ-504