[connection] make connect() easier to read
[connection] make connect() easier to read

While multiple uses of one scope should be replaced with a
using-statement, this change makes the function easier to understand at
a glance, as the called function has the same as the one the statement
resides in.

We don't want to make people think this function is recursive.

Tmplt/libircppclient,Tmplt/libircppclient