Add tests for RemoteViaSocket shut-downs, restarts, etc.