[TE2] Add a option to set the size of payload in CHIP request message (#5553)
[TE2] Add a option to set the size of payload in CHIP request message (#5553)

* Add a option to set the size of payload in CHIP request message

* Allocate message buffer from heap instead of stack
nestlabs/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip