I would add this code to `SplashQNetworkAccessManager` constructor instead, and avoid reading os.environ on each construction (better to add some class attributes and read it once there).

The usage of environment variables is growing, we should switch to a ini/conf file (but that's for another PR).