Add safe_urlopen helper

- Disables redirects (by default)
- Disables requests to internal IP ranges
- Default Sentry user-agent