[REM3-170] Add support for message size limits (includes cleanup of channel negotiation; also, fix long-standing window negotiation bug
fix window size negotiation (test cases)