Update to PSR-4
Check connection security
Temporary workaround, see PHP Bug #65137