Typos and ImapStream.Flush fix

Fixing a couple minor typos and making sure the output stream is flushed when ImapStream.Flush is called.