Setting protocol for horizon API

The patch checks whether SSL is enabled for horizon and
set HTTPS or HTTP protocol to connect to API.

Change-Id: I1cd1add804fe93f4fe19785c4285e89c7e62ab4b
Related-PROD: PROD-25652
1 file changed