refactored proxy / added ping

Only mysql needs the proxy and only when create_schema is true.

I added ping as a basic way to check the connection. I think this would be improved with events, but for now this seems ok.

Oh, and I made `connect()` not take a callback. Returning a result *and* using a callback is kind of insane!