Added support for subscriptions to the real-time API