Server middleware for viceroy. A companion to Viceroy-REST.