port from private repo
added ack-mode
Merge branch 'master' of https://github.com/nprds/pagingd