fixed; ssl setting when using URI

closes #1882