develop client memory cache, fix bugs which epoll receves data