mitmproxy fixes

Change the PIL with Pillow dependency and added missing pillow dependencies