Allow configuring WebSocket message size in a session

Issue: SPR-11575