Added an error handler. However CL https://codereview.chromium.org/12317147/ needs to land for this to work (without this CL the pipe will not get an error - it will be an uncaught exception), but it should land today. The added error handler is empty as it is not possible to do much in this case. The response is fully controlled by the pipe, so the server code cannot add anything to the response stream.