Implement basic events streaming

Signed-off-by: Julien Danjou <julien@danjou.info>