Fix: S3 load balancing to work properly

Libcurl multi interface requests use shared DNS cache by default. They end up (for this or some other reason) to use only one ip when connection to a host that is using DNS load balancing (multiple ips for one hostname). This problem can be fixed by setting each libcurl easy interface to use a separate DNS cache. This can be done using libcurl share interface.
Does it make sense to check the error of these `*_setopt()` calls? At least assert them, maybe.