Fix response building when body is empty
Return 404 when user's method throws exception
Make method body() private in Endpoint class