implement unpack, pack all messages
nn_{send,recv}_packed, plus bug fix