remove unused EventEmitter
use socket.setTimeout instead of global setTimeout
Merge pull request #444 from zhanghaojie/master

remove unused EventEmitter  && use socket.setTimeout instead of global setTimeout