Also use http client for https protocol