Lightweight connect based authorization middleware for node.js