Maybe this implementation works for people who want to use threads extension
Update global context
Merge branch 'master' of github.com:mkoppanen/php-zmq
Merge pull request #129 from phuedx/master

Expose ZMQ_MAX_SOCKETS_DFLT as a constant
Document the ZMQCert and ZMQAuth classes
Add the ZMQCert class

The ZMQCert class wraps the CZMQ zcert API.

Instances of the ZMQCert class can:

* have their public and private text inspected, either as 32-byte binary
  strings or Z85 armoured strings
* be tested for equality
* be cloned
* store and retrieve metadata
* have their public and private test saved to and loaded from disk
* be applied to a ZMQSocket
Add the ZMQAuth class

The ZMQAuth class wraps the CZMQ zauth API.

Instances of the ZMQAuth class can:

* install a ZAP handler for a ZMQContext
* whitelist/blacklist IP addresses
* use plain or curve authentication for one or more domains
Add examples for the ZMQCert and ZMQAuth classes

grasslands.php, strawhouse.php, woodhouse.php, stonehouse.php, and
ironhouse.php are faithful translations of Pieter Hintjens' examples of
the same names, which he originally published as part of his blog post
Using ZeroMQ Security (part 2)[0].

[0] http://hintjens.com/blog:49