Added heartbeat support. Fixed subscriptions.
Added tests for the new subscription logic. Bumped version.