Python API to haproxy