JBIDE-13672 new approach to trap 404s more cleanly. curl would be much easier, but hey.