#22215: have the smtplib 'quit' command reset the state.

Without this reset, starttls would fail if a connect/starttls was done after a
quit, because smtplib assumed the existing value of emspt_features was
accurate, but it gets reset when starttls completes (and the new value does
not contain the starttls capability, since tls is already started at that
point).  (There may be additional places where this lack of reset was an
issue as well.)

Patch by Milan Oberkirch.

--HG--
branch : 3.4
getuid() returns real process id not effective (closes #22307)

--HG--
branch : 3.4
extra : source : 59f2edeb8443671f5e15cf12da067f1195d583df