Update hexchat.py

making exceptions catch overflow errors on port numbers