seperate http::request object generation from request dispatch.

* makes the code look cleaner, a bit, and makes testing a bit easier.
Merge branch 'master' of https://github.com/ricecake/p5-net-rest-generic