When wrapping a service, unfortunately, some of the functionality already provided by the server must be reimplemented. Fortunately, in most cases, it is possible not just to reimplement it, but to enhance it. This particular experience springs from the SMTP wrapper.