Improve _IRCConnect Error Detection

Check if valid domain format
Check if valid IP format
Check if valid port format
Check if port is in range