fix compiler error for epoll rename
 .
 add function for protobuf
 change for epoll rename
 add new unittest
add read