Rip the STARTTLS stuff out of tls.el again, and just bind it directly from nnimap.
[gnus] / COPYING
2007-11-07 Miles BaderMerge from gnus--rel--5.10