Applying Event Sourcing to Occasionally Connected Systems