Merge pull request #685 from hintjens/master

Build/test errors on OS/X with clang++
Added test case for issue 566

* Tests dealer-to-router connection 100 times
* This was failing in ZMQ v4.0.0 RC1