Update Client.php

Support mysqli connection
Now works on php> = 5.5.0