Configurable curl_multi_select timeout

Possibility to configure a timeout for curl function curl_multi_select. Releated to issue #527