server up hub-api.js from the hub just like socket.io does for its client