Quite some progress.

* Implemented method dispatch and client authentication
* Improved Request implementation
* Added some validation functions
* Added some test cases