C++ implementation of a SMTP client