Base connect methods to RMI