Add some extra ServerManager tests.

Change-Id: I64ae53a907ba8540cc7eb5e57b2374e8938dd52f
Reviewed-on: http://gerrit.dmdirc.com/2965
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Move URI parsing behaviour into a util class.

Doesn't make much sense having things calling static methods on a
random command.

This removes the long-deprecated "--ssl" flag for the newserver
command.

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