Copy platform.hpp into src directory in cmake build.
Merge branch 'master' of https://github.com/zeromq/libzmq
Revert "Copy platform.hpp into src directory in cmake build."

This reverts commit 11b699e73cbda47ff450554ebca2385d20a0b75a.
Updated libzmq CURVE to track RFC 27

* The INITIATE command vouch box is Box[C',S](C->S') instead of Box[C'](C->S),
  as recommended by https://codesinchaos.wordpress.com/2012/09/09/curvecp-1/,
  to reduce the risk of client impersonation.

* Mirrors the change in libcurve and CurveZMQ specifications.
Merge pull request #683 from hintjens/master

Updated libzmq CURVE to track RFC 27
Merge branch 'master' of https://github.com/zeromq/libzmq
Call flush after writing the identity message
Merge pull request #684 from hurtonm/master

Call flush after writing the identity message
Build/test errors on OS/X with clang++
curve_keygen needed assert.h
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
Merge pull request #686 from hintjens/master

Added test case for issue 566
Updated CMake project for test_issue_566
Merge pull request #687 from hintjens/master

Updated CMake project for test_issue_566
Add '-lssp' linker flag for Solaris. Check for libraries after host specific setup.
Disable compiler warning for Solaris
Merge pull request #688 from mattconnolly/master

This pull requests fixes building on SmartOS and possibly other Solaris-like systems
declare z85_encode / decode in zmq_utils

they are used by curve_keygen, but not available
include missing platform.hpp in curve_keygen

it was excluded, so HAVE_SODIUM would never be defined,
leading to curve_keygen always reporting "recompile with libsodium"