parser: split up payload parsing some
channel/connection: plug memory leak

* Per-channel event names were not being deleted
* ChannelStream's Channel reference was not being removed on cleanup