Fix for keeping a client from sending more than 1024 characters. It just
disconnects. This should guard a bit against DoS.