dump.py: correcting hexdump of POST data, originally the python array containing the hexdump was listed all on one line, instead of as a real hexdump
osx.py: replaced the transparent proxy original_addr resolver with a call to ioctl(DIOCNATLOOK) for osx. the original 'lsof' solution did not work on my mac, it seemed to never stop calling lsof, never completing the connection. with the call to DIOCNATLOOK mitmproxy does need access to /dev/pf.