Fix #148 - Clear unsynced metadata on upstream sync
Fixed #226 - Eliminates ordering issues in the SyncMessage protocol