Add isSsl support