diff --git a/server.js b/server.js
index <HASH>..<HASH> 100644
--- a/server.js
+++ b/server.js
@@ -127,6 +127,8 @@ Server.prototype.onHttpRequest = function (req, res) {
   var params
   try {
     params = parseHttpRequest(req, { trustProxy: self._trustProxy })
+    params.httpReq = req
+    params.httpRes = res
   } catch (err) {
     debug('sent error %s', err.message)
     res.end(bencode.encode({
server: save HTTP req/res in params

For GH issue #<I>