added ssl option