Expose socketMonitor call.
Fix incorrect reading of a string options.

ZMQ_LAST_ENDPOINT returns null terminated string, so
haskell string should be created by calling newCString,
instread of newCStringLen, for additional safety it's
possible to add \0 on the position of the given length.
Merge pull request #46 from qnikst/export-socket-monitor

Expose socketMonitor call.
Merge pull request #47 from qnikst/fix-last-endpoint

Fix incorrect reading of a string options.
Small refactoring.
#44: Do not apply `DontWait` flag on Windows.
Fix typos.
Add CHANGELOG
Updated implementation for exceptions-0.6
Issue #50: Constrain exceptions < 0.6.
Merge PR #51 from thenikso/zeromq-haskell
Update CHANGELOG
Fix compatibility with previous GHC versions

Modify cabal file to include ghc-prim in build-depends when
GHC version is smaller than 7.6.

Signed-off-by: Spyros Trigazis <strigazi@gmail.com>
Add version bounds to `ghc-prim`.