TCP half-open check script for keepalived's MISC_CHECK