Add a database of packet types.
The onSay code seems to be working fine, get rid of debug instructions.
Replace print with log.
If the client packet's strange, send it anyway.
In debug mode, print the recognized packets.
Actually parse the packets coming from the server.
Make RSA functions accept more arguments, with default values.
Clarify the RSA code.
Only display packets from the server in debug mode.