Added host_ping API.