set mysqli driver options before real connect
Merge pull request #432 from deeky666/fix-mysqli-driver-options

Fix mysqli driver options