Use cURL for version check if allow_url_fopen is disabled

ICEcoder gave an error message on a server where allow_url_fopen is disabled. And it didn't notify about a new version. This change adds cURL support as an alternative.