Use stream_context_create as fallback if cURL not installed

- some systems won't have cURL installed, so we can use stream_context_create as a fallback