Add plumbing for creating outgoing sync sessions.

4 jobs for !1670 with 2291-mailbox-upload-plumbing in 10 minutes and 53 seconds (queued for 3 seconds)
latest merge request