eventmachine/eventmachine — pull request #349 by gregolsen (2012-07-31 18:53:13+00:00)
Title: in 1.9 String#[] returns charachter not a character code

I've faced a bug when a dot at the beginning of the line was duplicated.
That was caused by this line in SmtpServer#process_data_line:
ln.slice!(0...1) if ln[0] == 46
In 1.8 String#[] indeed returns a character code, but for 1.9 it simply returns a character (String#getbyte can be used instead)
For compatibility with 1.8.7 `String#start_with?` used instead