Changed createServer to Server as per the docs

http://socket.io/docs/#using-with-express-3/4