Fix device never starts
Merge pull request #449 from recipe/patch-1

Fix device never starts
Removing worker from the known workers fixed

The worker wasn't removed properly from the known workers and remains there even after expiration. The patch fixes it.
Merge pull request #451 from tom-kuca/patch-1

Removing worker from the known workers fixed
Simplify C++ version of hwserver

We can isolate OS differences in a single place and have the rest of the
code being universal.  This will improve code readability.
Handle state when broker doesn't respond
Merge pull request #452 from xakon/master

Simplify C++ version of hwserver
Merge pull request #453 from tom-kuca/patch-2

Handle state when broker doesn't respond
Fixed C build script to build on Ubuntu/gcc
Merge branch 'master' of github.com:lovmoen/zguide
Merge pull request #454 from lovmoen/master

Build script for C examples did not work on Ubuntu64 w/ gcc
Fix unknown variable $request
Merge pull request #456 from recipe/patch-2

Fix unknown variable $request
added example for lazy pirate server in Scala
Merge pull request #457 from hewolf/master

added example for lazy pirate server in Scala
Fix build script for C examples

Should use the same library (`libzmq`) that queries `pkg-config` for,
and not a different one (`libczmq`).
Include time.h and sys/time.h on Linux systems

Both library files are needed for included symbols (nanosleep() and
gettimeofday()) in Linux and BSD systems.

Furthermore, windows.h is needed to in Windows to access Win32 API, like
Sleep() and GetSystemTime().  So, this is the library file we should
include under Windows compilation.
Merge pull request #458 from xakon/master

Fix build system in C examples
Adding peering1 and peering2 examples for Haskell.
Merge pull request #462 from WraithM/master

Adding peering1 and peering2 examples for Haskell.