add check option in haproxy config
make tcp_client.pl work in a non-interactive mode