ruby 1.9 compat in smtpserver (fixes #349)