Added basic socket.io support.