getURI() now always returns a valid URI. Fixes issue 3209 setURI() now actually sets the URI rather than just parsing it and doing nothing with it. Fixes issue 3210 If the URI given to the parser has no port or an invalid port, default to 6667. Fixes issue 3208
getURI() now always returns a valid URI. Fixes issue 3209
setURI() now actually sets the URI rather than just parsing it and doing nothing with it. Fixes issue 3210
If the URI given to the parser has no port or an invalid port, default to 6667. Fixes issue 3208

Change-Id: I90ac6dbcc6544d82effee6dcd655d87d05126742
Reviewed-on: http://gerrit.dmdirc.com/126
Tested-by: Shane Mc Cormack <6f6e68d1df92f30cb4b3ce35260ddf94a402f33d@dmdirc.com>
Reviewed-by: Gregory Holmes <10bcf006358d67bf0012f7a1fa55af679f2aae55@dmdirc.com>
Tested-by: Gregory Holmes <10bcf006358d67bf0012f7a1fa55af679f2aae55@dmdirc.com>

greboid/Parser,ShaneMcC/DMDirc-Parser,csmith/DMDirc-Parser,DMDirc/Parser