support `createConnection('imap.gmail.com', opts)`