Deprecated use of curl in favor of php stream contexts to work better with our restricted IP ranges.