ISPN-4678 Trim down ExpandableMarshalledValueByteStream to the actual data length before storing in cache
ISPN-4484 Outbound transfers can be cancelled by old CANCEL_STATE_TRANSFER command

Test