Problem: need hook for server monitoring

Solution: add engine_set_monitor() that calls monitor function
at specified interval using zloop timer.
Merge pull request #59 from hintjens/master

Problem: need hook for server monitoring