Try to retrieve the version from github with file_get_contents if Stream_socket failed