Fix detection of HTML accept header so that requests for non-HTML resources can still get through to the proxy