Set network.proxy.allow_hijacking_localhost to true
https://bugzilla.mozilla.org/1507110 disables proxying localhost even when network.proxy.no_proxies_on
is empty. We now need to also set allow_hijacking_localhost=true
in order to avoid websites being able to access local network.