Add stub function for adding the message envelope frames.
Added Options directive, for setting HWM and send timeout values.
Use memcpy(3) instead of pstrdup() for copying the JSON payload out of memory.