add support for MySQL client flags

Docs: http://us1.php.net/manual/en/mysql.constants.php#mysql.client-flags