Connect/Express middleware for Dipswitch.