Call flush after writing the identity message
Build/test errors on OS/X with clang++
curve_keygen needed assert.h
Bumped version for 4.0.1
Merge pull request #8 from hintjens/master

Backporting fixes from master