Let proxies worry about which target to connect to, v4 or v6.

Change-Id: If346fc78ffb10e4302d129fd16386370398bec1d
Reviewed-on: http://gerrit.dmdirc.com/2971
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Add support for binding to IPv6 addresses.

Change-Id: Iaf88955e20a8797c0f20924ef343626a435af91f
Reviewed-on: http://gerrit.dmdirc.com/2970
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>