Fix to bug # 565, http://bugs.mariadb.com/show_bug.cgi?id=565
Client flags are now copied to each backend and used in their connections.

log_manager.cc: fixed string allocation where one byte was missing.
mysql_client.c: fixed string allocation where one byte was missing.
Merge pull request #57 from mariadb-corporation/MAX-311

Fix to bug # 565, http://bugs.mariadb.com/show_bug.cgi?id=565