refactor of muduo(a c++ network library)