[REM3-190] Allow per connection and per server buffer configuration
Do not hang when the window size is the same as the message size