Ruby 1.8.7 compatibility for the dispatcher
Merge pull request #86 from doxo/master

Ruby 1.8.7 compatibility for the dispatcher.