added set_verify_mode .

Added a way to config verify_mode .