Changes: pass secure flag to imap client