[LIBCLOUD-638] Can't set CORS headers via container.upload_object_via_stream()

https://issues.apache.org/jira/browse/LIBCLOUD-638