Ruby 1.8.6 fixes
Merge branch 'master' of github.com:njh/ruby-mqtt