[ngIRCd-GIT-ML] Alexander Barton : Correctly check that a server has a valid hostname and port