Added jesslilly changes to Connection method.

Now has the ability either use just 1 or 3 parameters in connection
string. Also fixed a syntax error in connection.cc @ line 570.