2600hz/kazoo — pull request #188 by lazedo (2014-01-02 20:05:41+00:00)
Title: log client IP in crossbar

if we have two or more whapps servers and want to use haproxy to balance crossbar requests we will always get the IP of haproxy server not the IP from the client making the request.
we can use "option forwardfor" and "option http-server-close" on haproxy to have the clients IP forward as a header (x-forwarded-for) to whapps servers.
"option http-server-close" is needed to forward the ip on all requests, without it you get OPTIONS request with client IP and GET request with haproxy IP.