bug894368: handle http/408 exceptions explicitly, and report on bad http response codes;r=hwine,jhopkins