Adds socket.io style broadcast functionality to primus