Implement socket_path attribute for the IdoMysqlConnection class

fixes #7901