Lightweight embedded messaging system built on nanomsg