Update hexchat.py

fixed bug in connection introduced by trying to fix another bug in connection (server side connection)