Capture and analyze HTTP traffic from the command line
Packet capture and analysis utility similar to tcpdump for HTTP
httpflow
$ httpflow -i en0
$ httpflow -i en0 -d ./http_captures
$ httpflow -i en0 'tcp port 80 or tcp port 443'