LIBZMQ-541 issue fix
Merge pull request #602 from hurtonm/master

Implement socket type checking
Merge pull request #601 from leewoosung/hotfixes/patched

[LIBZMQ-541] pub socket sending fail issue
Add new socket monitor event for when socket monitoring is stopped.
Fix montior tests to handle the monitor stopped event correctly
Fix cmake build
Fix build on windows, uint isn't a standard type, unsigned int is.
Merge pull request #604 from ricnewton/cmake_fix

Fix cmake build
Merge pull request #603 from ricnewton/master

Add monitor event for when monitoring is stopped so we can unblock any sockets waiting on monitor socket.
Fix tab/space formatting issue
Merge pull request #605 from ricnewton/master

Fix tab/space formatting issue
Add tests for Request-Reply pattern sockets.

* See http://rfc.zeromq.org/spec:28/REQREP
* Not all testable statements are covered.
* At this point, there are several failures:
  - test_spec_req: The REQ socket does not correctly discard messages
    from peers that are not currently being talked to.
  - test_spec_dealer/router: On disconnect, the queues seem to not be
    emptied. The DEALER can still receive a message the disconnected
    peer sent, the ROUTER can still send to the identity of the dis-
    connected peer.
Fix compilation warnings on unsigned comparisons.

Fix two unsigned comparisons to zero or more being always true. Clang
won't compile this with -Werror.
Merge pull request #607 from cjuniet/master

[LIBZMQ-544] Fix compilation errors with Clang
Add tests for PUSH/PULL sockets.
Merge pull request #606 from ckamm/master

Add tests for Request-Reply and Pipeline pattern sockets.
Make pipeline/reqrep tests try tcp:// endpoints.

The inproc:// endpoints sometimes use different code paths so
testing with regular tcp:// endpoints as well can show different
issues.
Merge pull request #609 from ckamm/tests

Make pipeline/reqrep tests try tcp:// endpoints.
Got new test cases working with libzmq

* disabled the specific tests that do not work (yet) on libzmq
* cleaned up one source (test_spec_rep.c) but the others need similar work
* added sleep in test_spec_rep to allow connects time to happen; this would
  not be needed if we connected out to the REP peers instead in from them,
  but I didn't want to change the logic of the test code.
Merge pull request #610 from hintjens/master

Problem: new spec test cases don't all work
update to include stream.cpp and curve related