Added flags support for mysqli::real_connect in Mysqli driver. This is necessary if you want to set connection options like compression or SSL encryption.