Reorder a few statements in Connection constructor
Reorder a few statements in Connection constructor

First check for valid arguments, then assign instance attributes, and do
all this in the same order as the arguments are specified in the
constructor signature.

TAKEALOT/happybase,tekton/happybase,rickysaltzer/happybase,wfxiang08/happybase,georgesuperman/happybase