improved on message wrapper for client to remote actor class