Improve processing of client data:
Better error checking.
Check timestamp to prevent replay attacks.