Problem: need hook for server monitoring

Solution: add engine_set_monitor() that calls monitor function
at specified interval using zloop timer.