Add https support to the client.