Do not exit when mochiweb_socket:send returns an error (Known-size-stream branch)

This patch fixes issue #59.

Please see https://github.com/basho/webmachine/pull/62 for more information.  This patch is a rebased version of that one, with the same fix applied to the `known_size_stream` body producer.