Added ssl option

So https protocol can be used when needed.