Added 404 header support

More efficient error support