[feature] added the ability to prepare the subscribe message

* changed the buffers to be static in order to simplify the implementation for now