restructure the section socket.io in chp:sys_impl