update client library to use SSL