[BUG] Default to SSL=true and fix bugs.