Fix bug: a request from unknown browsers change global setAllHeaders setting

After receiving a request from unknown browsers, all headers are send to any browser.