Improve validation of callable method.
Make easily test of requests handler:
- Make dispatch() method take request body instead of reading it from stream.
- Change die() to echo().