emit an error event when a request fails
use 'error' as event name per https://github.com/runk/node-thin/pull/5/files#r21064428
Merge pull request #5 from dontcallmedom/emit-errors

emit an error event when a request fails