add PING cmd
support empty value
fix mem leak
rename src/ndb_msg.c -> src/ndb_message.c