Find and use socket in mysql.DSN if hostname = localhost