fix some net bug and add NetCoder