factored out zmq helper functions.
using ncurses to update a status line at the bottom of the screen.
Merge branch 'master' of github.com:mikehadlow/socsnap_pi