Hi. I'm experiencing file_get_contents(): SSL: Connection reset by peer errors when connecting to Moodle servers with strict SSL configurations.
Problem:
- No way to configure connection timeouts
- Limited SSL options control when using file_get_contents()
- Connections fail with enterprise SSL certificates
`$moodle = new MoodleRest('https://miuniversidad.edu/moodle/webservice/rest/server.php', 'my_token');
// error: "SSL: Connection reset by peer" in production
$users = $moodle->request('core_enrol_get_enrolled_users', ['courseid' => 12345]);`