JAMES-1862 Fix STARTTLS command injection detection [BACKPORT 3.6.x] (#944)

Original PR: https://github.com/apache/james-project/pull/919

 - Parser differential for IMAP STARTTLS
 - Concurrency could lead to injected plain commands to be run as SSL encrypted
9 files changed