doc: OnRequest function handler needs to return req and resp

The `OnRequest().DoFunc()` function is expecting a function returning
both a modified request and a response (optionally nil). Fix some
documentation strings to reflect that.
Merge pull request #77 from vincentbernat/doc/OnRequest

doc: OnRequest function handler needs to return req and resp