add serverxmode.cpp and .h
sync from vs2010