Expose request object

Note this API is unofficial and the contents of the request object are
subject to change.