Install socat, and create helper functions to read haproxy socket info.