completed test case for packet pool
Code fix for a hanging up bug.
TODO: complete packet pool usage in netthread, and add destroy function
for the pool
Added destruction for PacketPool
Changed back PacketPool construction param
Corrected using protect mem function of socket in netthread.cpp
Added packetpool allocation.
TODO: ClientLogin logic needs further consideration
Refactor of ClientLogin