Add test checking for a stream being broken

Twiggy (as of version 0.1024) shuts down after servicing
a request that writes streaming contents to a PSGI writer, and
the connection is broken.
Fix bug where Twiggy stops servicing requests