pfs_channel_alloc adds extra ref.

This bug was introduced in be2321475b0b23c8627de32c4e455917b55cf939.

Fixes #550.
Extra debug information.

And some other non-functional cleanup.