a node conect middleware component to emulate shtml