Added LWM message send buffering. Fixed memory leak.
Merge branch 'master' of https://github.com/Votsh/waves