Revert "Use destroy buffer size on websocket transport method as well"

This reverts commit a47d76b990491895688e24be5fd3126741344f62.