Expose internal request object

this pull request fixes #106 in a naive implementation.