Issue #1206: When used behind an authenticated proxy, several network-related features don't work
Another fix

(cherry picked from commit fef27c026eab205579f2fd6190dd42861ac4482b)