Split sync in multiple POST requests in server (#5571).
Split sync in multiple POST requests in client (#5571).
Add design docs (#5571).