Send data to content store

This now handles timeouts and other error responses from the content store, and also passes back the status code from content store on success (200/201).