net library inspired by muduo, but implemented in pure C