add custom port number, fix a problem with non-string port in irc library