save net socket data 2 local mongodb