custom socket rmi