hpoolserver renamed to network. Implemented one-thread socket management and multi-thread handling