Add configurable timeout to send_request()

Let curl_easy_perform() timeout to avoid hanging in case that the
Swift server is irresponsive or gives incomplete responses.