started building core of imapProtocol and imapServer.

Signed-off-by: Michel Verbraak <info@1st-setup.nl>