Raise an exception if a channel is closed while processing frames in a
synchronous transport. Solves #31
Adding regression test for #31
Merge pull request #32 from agoragames/synchronous-channel-closure

Synchronous channel closure