Fix error caused by change from deprecated sendfile() to sendFile().
Move from express to express.io for realtime support.