Add constructor for RMIMessage