Fixed issue detected in http client creation.