Fix race: We sent a response the client, which immediately sends a new request. The server loop would reset the channel, and then the original handler would clobber headersSent.
Merge pull request #30 from philipa/patch-race

Bug fix for race in AsyncChannel