Disable SSL verification. Fix minor bugs.