Add xaps plugin for LMTP in example config as well
Adapt for recent dovecot 2.2 version (2.2.13)
Properly terminate strings received from daemon
Include net.h/network.h depending if older/newer than version 2.2
Merge pull request #1 from mstilkerich/master

Miscellaneous improvements.