screen size is static, so only need to compute once
Make clear that changing CSS when using static caching won't cause the CSS to be updated
Revert "Revert "[mms] By default, use TLS if available and necessary to login to server.""

This reverts commit 6daa00469d213bb4483af15b7512bb75a10f4ba0.

Your IMAP server is totally hosed.

S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE  XIMAPPROXY] neo Cyrus IMAP v2.4.16-Debian-2.4.16-4 server ready
C: 1 STARTTLS
S: 1 BAD Please login first

Login before starting TLS?  Nothing like sending your auth credentials
in plaintext before starting encryption.

But the main issue is instead that your server doesn't advertise/support
STARTTLS, which is MANDATORY under IMAPv4rev1 (RFC 3501 [6.1.1, 7.2.1, 9,
11.2, etc., etc.]).  Not sure why it didn't throw an Exception a line
before the STARTTLS is issued, (although it won't throw an Exception if
this was an already existing Horde_Imap_Client and you upgraded in the
middle of a session, which obviously won't work).
Fix capitalization