Better exception handling.
Add HttpHandler.create to handle creation of resources via POST method.