Default to 404 on invalid requests, Issue #1