add test
fix bugs ,to mv message stream to client and server