update socket,rmi encoder