improved the code about server state
improved the code about server state

jmptrader/SuperSocket,chucklu/SuperSocket,mdavid/SuperSocket,fryderykhuang/SuperSocket,ZixiangBoy/SuperSocket,fryderykhuang/SuperSocket,ZixiangBoy/SuperSocket,mdavid/SuperSocket,chucklu/SuperSocket,kerryjiang/SuperSocket,ZixiangBoy/SuperSocket,kerryjiang/SuperSocket,mdavid/SuperSocket,jmptrader/SuperSocket,chucklu/SuperSocket,fryderykhuang/SuperSocket,jmptrader/SuperSocket,memleaks/SuperSocket