Removed test_raw_sock test case (replaced by test_stream)
Updated libzmq to match RFC 23, 24, 25, 26

* Command names changed from null terminated to length-specified
* Command frames use the correct flag (bit 2)
* test_stream acts as test case for command frames
* Some code cleanups
Removed temporary patch on tests/Makefile.am
Added system check at start of selftests

- tests that system can provide at least 1,000 sockets
- we could expand on this but this covers the main case of OS/X
  having a too-low default limit of 256 handles per process
Removed test_raw_socket
z85 encoding buffer overrun
Fixed test_stream case

- was not looping to read all input from peer
- broke on OS/X specifically
Merge pull request #645 from hintjens/master

Updated libzmq to match RFCs
Fix tests on windows
Remove windows debug code.
Merge pull request #648 from ricnewton/master

Fix tests on windows
Was sending NULL mechanism name with extra null (fixed)
Fixed comments on curve_keygen tool
Added ZMQ_ZAP_DOMAIN socket option

* This is passed to the ZAP handler in the 'domain' field

* If not set, or empty, then NULL security does not call the ZAP handler

* This resolves the phantom ZAP request syndrome seen with sockets where
  security was never intended (e.g. in test cases)

* This means if you install a ZAP handler, it will not get any requests
  for new connections until you take some explicit action, which can be
  setting a username/password for PLAIN, a key for CURVE, or the domain
  for NULL.
Merge pull request #649 from hintjens/master

Fixed minor error in NULL mechanism (spec was wrong)
Implement non-blocking shutdown command that unblocks other threads waiting on blocking operations.
Merge remote-tracking branch 'upstream/master'
Merge pull request #650 from ricnewton/master

Implement non-blocking shutdown command
Fix Makefile.am for test_ctx_destroy
Merge pull request #651 from ricnewton/master

Fix Makefile.am for test_ctx_destroy