client: emit on the `socket`, not `io`
Merge pull request #16 from TooTallNate/fix/onerror

client: emit on the `socket`, not `io`