chatdemo.py:  Fixed a bug where you'd get a TypeError in Python 3 trying to create an authentication signature.
accept_certificate.html:  Instead of closing the window it now redirects the user back to the page they came from immediately after loading.
gateone.js:  Changed how GateOne.Net.sslError() handles the situation where Gate One is embedded into another web page and the user has yet to accept the server's SSL certificate.  It will now display a message where the user can click to be redirected to the accept_certificate.html page.