Add ssl options

Adds the same ssl options provided by `ws` and `tls.connect()`. The options are passed to either `ws` or `https.request` depending on the transport used.