Issue #16647: save socket error details in LMTP.connect()
Issue #16647: save socket error details in LMTP.connect()

Patch by Serhiy Storchaka.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator