AMBARI-3792. Unable to connect to: https://server:8441/agent/v1/heartbeat/agent_hostname due to No JSON object could be decoded" when ping_port is not set (Dmytro Sen via dlysnichenko)