Revert "Make chat.php work over SSL"

This reverts commit 86cb39a336e9b0ce70023ae59f7cacb4d131d422.