added timeout control to curl fallback get_file_content
added configuration, api_timeout in ms.
defaulted and clamped to min 100ms if missing