Explicitly set SSL cert verify_hostname if using https API 

verify_hostname is already set by default (it can be overwritten by an environment variable), so this is just an extra safeguard and not an urgent fix.