Fixed "res.headerSent" typo

It's supposed to be `res.headersSent` according to:
http://nodejs.org/api/http.html#http_response_headerssent