This allows to specify the HTTP client (cUrl or file_get_contents)

cURL allows more control over timeouts (connection vs. read timeout), however it was not possible to specify the HTTP client to be used without fallback.

This PR adds the possibility to define the HTTP client to be used (either cURL or file_get_contents) and not allow a fallback.
The default behaviour (fallback from fopen to curl is not touched).