feross/bittorrent-tracker — pull request #48 by astro (2014-12-12 15:54:23+00:00)
Title: onHttpRequest() as part of the public API

Silly me, always trying to expose internals as public API. :-)

This is ultimately what I need for embedding the tracker into web servers. I added an example for illustration.