Backport ruby 1.9 fix for trailing = sign in message headers from mail 2.5