fix zmq_msg_t size; memory management
some test about implementing socket option handling