Framework independent SMTP server protocol handler