align code with example from config file

config file had proto "pop3" but code did only recognize "pop"
added missing requirement
Merge pull request #18 from johnnykv/master

a few minor fixes