Add generic host config struct and related helpers for TCP-based probes and use them for ctrl probe. This will be used in follow-up patch for OpenVPN probe as well. Change-Id: Ie321655a92cdbefbfaa056ac0d583397c83beccb