Multiple fixes: packet factory, cl_parser, db_interface,etc

Flushing of buffers when bad data is on the wire, etc.
Anticipation of hackers hitting the server.
Etc.