IMAP and POP3 server written with security primarily in mind