haproxy.py: unused import directives removed, same socket reused, links to documentation added.