shouldn't we provide a fallback here for systems without curl? we could do this with `fsockopen()`