fix: do not blow up if there is no socket.io

Closes #5