Library for consuming and producing ARI events from the client side