connect-domains (npm): Parse req.headers.host into a heiarchy of domains and sub-domains populating the 'req.domains' object.
Keywords: sub-domain|domain|connect|express|middleware|debug|interactive