fix a zmsg_log_dump bug; fix some majordomo protocol bugs