Added console client to examples.

Having a console client significantly eases testing and debugging of
workers.