implement exit and quit command in listener.c
Merge branch 'master' of https://github.com/oakey-dev/moonitor