add ssl support for the http client