Got it to work using Connect

Made the middleware Connect compatible. Fixes #25.

It does what it should do in my project using a grunt task for dev. I will fix the tests, just wanted to make sure you'll merge it before I do that.