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

Patch by Serhiy Storchaka.
1 file changed