Allow connect without changing database
Quote database names

This is required to support database names containing dashes.
Merge pull request #38 from gar1t/master

Allow connect without setting database name e.g. for Sphinx MySQL socket interface