Some improvements for the OS X mitmproxywrapper.py script

Various small improvements to the OS X-specific mitmproxywrapper.py script in examples/.