socketio-transport allows you to define request handlers (file, DB, ...) on the server side and to access them from the client side.