add null check to handshake

```
TypeError: Cannot use 'in' operator to search for 'issued' in null
at Manager.garbageCollection (node_modules/socket.io/lib/manager.js:1023:21)
```

```
handshake = this.handshaken[ids[i]];
```
to be null.