Bugfix for Contao 3 with SSL-Support