senchalabs/connect — pull request #949 by lo1tuma (2013-10-29 22:20:28+00:00)
Title: errorHandler: use setHeader instead of writeHead

The errorHandler still uses writeHead for the plain text response. This can cause the following exception by node: `Can't render headers after they are sent to the client.`