a publish/subscribe example using em/hiredis