Warning · Test quality
The test excludes handshake requests from its count, so it still passes if the client sends them before raising `ValueError`.
Impact
A regression could send HTTP traffic for an oversized request without failing the test.
Recommended action
Record every HTTP request and assert the count is unchanged across the rejected call.