Update core.py

add ssl verify flag control, default to False