Return 404 on namespaces and services not found

Fixes #11.