improvements to test_smtplib per issue2423
merged the socket mock introduced in test_smtpd
3 files changed