Use WebSocket events instead of callbacks
Compiled source
Merge pull request #232 from alaingilbert/use-events

Use WebSocket events instead of callbacks - no API change