Change log level parameter name from lvl to level for readability.
Improve test for recv_limit handling.
If the data is too long, rather just return an empty chunk and throw the dangerously large data away as soon as possible.