That is because the https_proxy env variable is not set (which is also a bug in gnome-terminal) and apport makes use of urllib, which implements dumb non standard support for HTTP proxies (basicaly it will issue GET https://.... HTTP/1.0 instead of doing a CONNECT followed by a GET)
The solution would be to drop the usage of python's urllib.
That is because the https_proxy env variable is not set (which is also a bug in gnome-terminal) and apport makes use of urllib, which implements dumb non standard support for HTTP proxies (basicaly it will issue GET https://.... HTTP/1.0 instead of doing a CONNECT followed by a GET)
The solution would be to drop the usage of python's urllib.