stream: fix a bug with creating a snapshot
stream: fix a bug with creating a snapshot

The head of the topic buffer was being ignored when creating a snapshot. This commit fixes
the bug by ensuring that the head of the topic buffer is included in the snapshot
before handing it off to the subscription.

hashicorp/consul,hashicorp/consul,hashicorp/consul,hashicorp/consul