Implemented simple model binder.

Implemented model binding using JSON serialization. Fixed issue with
reading the body stream from the request.