Making the server respond 404 for not implemented API requests