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
mark test_linger as expected failure

rather than pretending it passes
Merge pull request #646 from minrk/xfail-linger

mark test_linger as expected failure
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
Clarified zmq_socket.txt ZMQ_STREAM section, added example
Merge branch 'master' of github.com:sebastien/libzmq
Merge pull request #647 from sebastien/master

Clarified zmq_socket.txt ZMQ_STREAM section, added HTTP server example
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)