Implement an IMAP client

1. A Java socket based client.
2. Connect to IMAP server, and writer data.