Actually there is no limit on the Primus client buffer, so if there is a problem on the server, the client memory will explode ? Am I wrong ?
Ok, i think you should do this. If i have time, I will make a PR.
Adding this to the 2.1 milestone.
I've added this feature/fix here ba2fad7 in the limit-buffer-size branch just in case we need to publish a new release before 2.1.0 and we want to keep this for the 2.1.0.