Use "correct" case for Content-Type headers added by mitmproxy. Make UTF environment detection more robust. Improved MIME-type detection for viewers. Always read files in binary mode (Windows ...