FreeBSD compat
Add POP3 support
Merge pull request #3 from Freeaqingme/master

FreeBSD compatibility & POP3 support