Fix crashing on start with proxy set, properly set all proxy env vars