fix(socket): log socket errors

Otherwise you can get uncaughtErrors like:

```js
  [ 'Error: write EPIPE',
     '    at errnoException (net.js:904:11)',
     '    at Object.afterWrite (net.js:720:19)' ]
```