7. Hardening (input is untrusted)

The server treats every client as potentially hostile. Limits live next to the code: