Add proxy for horizon with cookie support

This patch adds a proxy for load-balancing horizon. Persistence is
done with a SERVERID cookie. This patch also extends the proxy defined
resource to accept more options (addr, mode, listen_options,
member_options, and define_cookies).