proxy: move the 400 "http:" check down lower

So that I can see DEBUG output like HTTP headers on these requests still...