Prototype http & websocket routing abstraction thingie with middleware support.