Added `before` method to `Request` prototype

Currently there is an `after` helper method on the `Request` prototype, but no matching `before`.