Add support for ruby 1.8

Changes calling conventions to be 1.8-compatible
Merge pull request #1 from eric/support-1.8

Add support for ruby 1.8
Require rubygems to make 1.8.7 happy.

Why is 1.8 not dead yet?
Clean up a few things for 1.8.7
Version 0.0.7
Fix a typo in the README.
Support doubles and longs.
Version 0.0.8
Arbitrary attributes on events
Merge pull request #5 from b/attributes

Arbitrary attributes on events
Change attribute name to attribute key
Merge pull request #6 from b/attributes

Change attribute name to attribute key
Add extra attributes to event as Attribute instances with values converted to String
Merge pull request #7 from jegt/master

Add extra attributes added to the Event constructor to the event as Attribute instances
Get and set attributes using hash-style accessors
Merge pull request #8 from jegt/master

Get and set attributes using hash-style accessors
Version 0.2.0
Fix various custom attribute encoding bugs.
Version 0.2.1
socket can not be opened in method connected?