Wrap try/catch around all response-writing code because Node 0.8.20 throws hangup errors more often than before. See: http://clock.co.uk/tech-blogs/preventing-http-raise-hangup-error-on-destroyed-socket-write-from-crashing-your-nodejs-server