basic but functional haproxy API