add VERBOSE and correct some errors in p2p_msg.c