Adds methods for dealing with events

but long polling might not be possible with node request module