Fix avoid-web to work with firefox behind reverse proxy