From https://github.com/GhostGroup/infrastructure/pull/180
Use socat to eavesdrop on the Nginx -> Unicorn socket-based comms.
ubuntu@ip-10-0-191-247:/etc/nginx/sites-enabled$ SOCK=/var/www/shared/.unicorn.sock [49/144]
ubuntu@ip-10-0-191-247:/etc/nginx/sites-enabled$ sudo mv ${SOCK} ${SOCK}.ORIG
ubuntu@ip-10-0-191-247:/etc/nginx/sites-enabled$ sudo socat -t100 -v UNIX-LISTEN:${SOCK},mode=777,reuseaddr,fork UNIX-CONNECT:${SOCK}.ORIG
> 2016/04/12 16:02:21.313206 length=321 from=0 to=320
GET /health HTTP/1.0\r
X-Request-Id: 27AC6564-EEE5-4DCF-B327-19563E3DC752\r # UUID/Request-Id
X-Real-IP: 127.0.0.1\r
X-Forwarded-Host: localhost\r
X-Forwarded-Server: localhost\r
X-Forwarded-For: 127.0.0.1\r
X-Request-Start: t=1460476941.312\r
Host: localhost\r
Connection: close\r
User-Agent: curl/7.35.0\r