working whitelist functionality (so far, images only), beginnings of mitmproxy