bug fix about epoll event cache machanism: socket may be closed by a previous epoll event's processing
Merge pull request #17 from footer/master

bug fix in gate