[Sentry][PHP] Log errors with PHP curl without SDK

Please see https://forum.sentry.io/t/how-can-i-post-with-curl-a-sentry-event-which-authentication-credentials/4759