Use ConnectionManager.

Change-Id: Ic0e6e5f95adc30e773945c95e73d321d589503d2
Depends-On: I8888522d58ff4d332c4a477702442c29a82d12ff
Reviewed-on: http://gerrit.dmdirc.com/3871
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager