add socket to mysql and mysqli driver

Hello Leo

Here a first version of socket support for contao 3, translations missing. I'ts nearly the same as the pull request for 2.11

Regards Dominik