Fix bug when inserting decrypted local doc.
Fix requests paralellization.
Allow for concurrent PUTs during sync.