Check that server.stack is defined.
Merge pull request #20 from michaelr/socket.io-bug

socket.io example in README doesn't work with the latest grunt-express