modified for new paulczar/haproxy-mysql